package com.javaee.demov2.web.dto.ticket;


import com.javaee.demov2.utils.bean.BasePageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ApiModel(description = "票据信息查询的Dto类")
public class TicketQueryDto extends BasePageReq {
    //此处可以添加数据校验注解

    @ApiModelProperty(value = "票据编号")
    String ticketNumber;

    @ApiModelProperty(value = "票据开具方")
    String issuer;

    @ApiModelProperty(value = "票据接收方")
    String receiver;

    @ApiModelProperty(value = "票据开具时间起始")
    LocalDateTime issueTimeStart;

    @ApiModelProperty(value = "票据开具时间截止")
    LocalDateTime issueTimeEnd;

    @ApiModelProperty(value = "票据金额最小值")
    BigDecimal amountMin;

    @ApiModelProperty(value = "票据金额最大值")
    BigDecimal amountMax;

    @ApiModelProperty(value = "票据描述")
    String description;

    @ApiModelProperty(value = "票据类型")
    String type;

    @ApiModelProperty(value = "票据状态")
    Integer status;
}